package cz.zcu.fav.rat.managed.bean;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

import cz.zcu.fav.rat.beans.User;
import cz.zcu.fav.rat.dataaccess.service.UserService;

@ManagedBean
@RequestScoped
public class ViewUserBean extends AbstractViewItemBean<User, UserService>
{

	@Override
	protected UserService getDataProvider()
	{
		return SpringBeanFactory.getInstance().getBean("userService",
				UserService.class);
	}

}
